Matthias Clasen [Wed, 27 Mar 2013 01:37:21 +0000 (21:37 -0400)]
wayland: Emit monitors-changed when monitors change
Matthias Clasen [Wed, 27 Mar 2013 01:27:21 +0000 (21:27 -0400)]
Don't decrement the init_ref_count towards -infinity
Once we are at zero, initialization is done.
Matthias Clasen [Wed, 27 Mar 2013 00:46:13 +0000 (20:46 -0400)]
Pimp up testheaderbar some more
Marek Černocký [Tue, 26 Mar 2013 22:06:55 +0000 (23:06 +0100)]
Updated Czech translatio
Kristian Høgsberg [Tue, 26 Mar 2013 21:23:31 +0000 (17:23 -0400)]
wayland: Set screen size to bounding box of all outputs
Don't hardcode 8192x8192. We don't get this info from wayland, so we
compute it as we receive information about the available wl_outputs.
https://bugzilla.gnome.org/show_bug.cgi?id=692871
Kristian Høgsberg [Tue, 26 Mar 2013 18:42:14 +0000 (14:42 -0400)]
wayland: Roundtrip until we've receive initial input and output configuration
We use a ref-count mechanism to track whether parts of the init sequence
still needs round trips to receive remaining initial state. Typically
we need a couple of roundtrips total to get the global list, then the
input and output configurations, but with the ref-count we avoid making
global assumptions like that.
https://bugzilla.gnome.org/show_bug.cgi?id=696340
Chun-wei Fan [Mon, 18 Mar 2013 01:16:13 +0000 (09:16 +0800)]
Bug 695895: Fix gtk3-demo on Windows
In commit
4e41577b, we are using g_content_type_is_a() to determine how
to display the demo resources in the right pane of the gtk3-demo program.
Use g_content_type_get_mime_type(), so that we can obtain the mime
type of the demo resources on all platforms, as g_content_type_guess()
returns a platform-specific string, as
https://developer.gnome.org/gio/2.35/gio-GContentType.html states.
As .ui files and .css files are normally registered with a different mime
type string on Windows, check for those strings as well.
This will ensure the demo resources can be properly displayed on Windows
as well.
Chun-wei Fan [Tue, 26 Mar 2013 03:56:32 +0000 (11:56 +0800)]
Fix Visual Studio property sheets
The creation of the folder for the "installation" of a11y headers is wrong,
so fix that.
Daniel Korostil [Mon, 25 Mar 2013 20:39:47 +0000 (22:39 +0200)]
Added uk translation
Mario Blättermann [Mon, 25 Mar 2013 18:29:37 +0000 (19:29 +0100)]
[l10n] Updated German translation
Carlos Garcia Campos [Mon, 25 Mar 2013 12:01:23 +0000 (13:01 +0100)]
gtkprintbackendcups: Fix a crash in avahi_create_browsers()
In avahi_request_printer_list() a new connection to the DBus system bus
is started asynchronously, but it's not cancellable and it's not taking
any reference of the GtkPrintBackendCups. This means that when the
callback is called, the object might have been destroyed already. We can
just pass the cancellable created and check for the cancelled error in
the callback before trying to use the GtkPrintBackendCups. The code to
cancel avahi operations and to unsibscribe from the DBus signals has
been moved from finalize to dispose to make sure it happens as soon as
possible.
https://bugzilla.gnome.org/show_bug.cgi?id=696553
Carlos Garcia Campos [Mon, 25 Mar 2013 11:09:52 +0000 (12:09 +0100)]
gtkprintbackendcups: Fix a crash in gtk_print_backend_cups_finalize()
If GtkPrintBackendCups is finalized and cups_get_printer_list hasn't
been called, g_object_unref is called for the GDBusConnection pointer
that is NULL. Use g_clear_object() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=696546
Alexandre Franke [Mon, 25 Mar 2013 11:07:06 +0000 (12:07 +0100)]
Update French translation
Shantha kumar [Mon, 25 Mar 2013 09:48:45 +0000 (15:18 +0530)]
Tamil Translations Updated
Shantha kumar [Mon, 25 Mar 2013 09:48:30 +0000 (15:18 +0530)]
Tamil Translations Updated
Ani Peter [Mon, 25 Mar 2013 08:33:52 +0000 (14:03 +0530)]
Completed for Malayalam
Matthias Clasen [Sun, 24 Mar 2013 18:55:52 +0000 (14:55 -0400)]
wayland: Add toolbar settings
Luca Ferretti [Sun, 24 Mar 2013 19:57:22 +0000 (20:57 +0100)]
[l10n] updated Italian translation
Jan Arne Petersen [Wed, 20 Mar 2013 15:38:36 +0000 (16:38 +0100)]
wayland: Add support for custom surfaces
Allow to set a GdkWindow to use a custom surface instead of a
wl_shell_surface. It allows to register the surface as a custom type
with some Wayland interface.
https://bugzilla.gnome.org/show_bug.cgi?id=695861
Matthias Clasen [Sun, 24 Mar 2013 18:21:41 +0000 (14:21 -0400)]
broadway: Don't use deprecated gdk_cursor_ref
Sébastien Wilmet [Tue, 19 Mar 2013 13:31:43 +0000 (14:31 +0100)]
GtkWidget: add missing deprecation marks
https://bugzilla.gnome.org/show_bug.cgi?id=696138
Petr Kovar [Sun, 24 Mar 2013 18:19:07 +0000 (19:19 +0100)]
Update Czech translation
Sébastien Wilmet [Sat, 23 Mar 2013 15:44:49 +0000 (16:44 +0100)]
GtkLabel: fix underlining of mnemonics
The underscore was shown in front of the mnemonic instead of underlining
it (e.g., _Save).
Thanks to Lars Uebernickel.
https://bugzilla.gnome.org/show_bug.cgi?id=674759
Ask H. Larsen [Sun, 24 Mar 2013 13:50:40 +0000 (14:50 +0100)]
Updated Danish translation
Mario Blättermann [Sun, 24 Mar 2013 11:53:30 +0000 (12:53 +0100)]
[l10n] Updated German translation
Matthias Clasen [Sun, 24 Mar 2013 01:06:14 +0000 (21:06 -0400)]
csd: Reparent the content
This lets us avoid problems with cursor changes.
Matthias Clasen [Sat, 23 Mar 2013 23:41:39 +0000 (19:41 -0400)]
Make gtk_init_check work as expected
When no GDK backend can be initialized (either because
GDK_BACKEND has been set to the wrong value, or the backends
are simply not included), the expectation is that gtk_init_check
should return FALSE, not error out.
This commit makes it so, by using gdk_display_manager_peek
instead of gdk_display_manager_get in code paths that are used
during initialization.
Matthias Clasen [Sat, 23 Mar 2013 23:40:16 +0000 (19:40 -0400)]
Make gdk_display_open_default_libgtk_only more robust
Make this function return NULL if GDK could not be
initialized. We check this by seeing if there is a
display manager singleton.
Matthias Clasen [Sat, 23 Mar 2013 23:39:58 +0000 (19:39 -0400)]
Add gdk_display_manager_peek
Instead of failing with an error if no GDK backend is found like
gdk_display_manager_get(), the new peek function silently returns
NULL.
Matthias Clasen [Sat, 23 Mar 2013 22:31:20 +0000 (18:31 -0400)]
wayland: Remove a few unused variables
Matthias Clasen [Sat, 23 Mar 2013 22:02:28 +0000 (18:02 -0400)]
wayland: Don't recreated keymaps on layout change
The GDK model for keymaps expects the keymap object to stay
around and emit a ::keys-changed signal. So, do that. This
should make layout changes work, but it remains untested since
weston does not support layout changes at runtime.
At the same time, plug a memory leak where GdkWaylandKeymap
forgot to free its xkb objects in finalize.
https://bugzilla.gnome.org/show_bug.cgi?id=696339
Tarnyko [Sat, 23 Mar 2013 21:42:55 +0000 (17:42 -0400)]
win32: Bring back spinner animation
Define the spinner animation in css.
https://bugzilla.gnome.org/show_bug.cgi?id=696202
Matthias Clasen [Sat, 23 Mar 2013 21:10:31 +0000 (17:10 -0400)]
wayland: remove an unused variable
Matthias Clasen [Sat, 23 Mar 2013 21:09:38 +0000 (17:09 -0400)]
wayland: Respect keymap repeat information
xkb has a function to tell us whether a key should be repeated
or not. Lets use that information.
Jorge Pérez Pérez [Sat, 23 Mar 2013 21:19:11 +0000 (22:19 +0100)]
Updated Aragonese translation
Colin Walters [Sat, 23 Mar 2013 18:09:20 +0000 (14:09 -0400)]
gtktoolpalette: Only call gdk_atom_intern when we're constructed
Otherwise we end up trying to instantiate a display manager in
class_init which breaks introspection scanning.
https://bugzilla.gnome.org/show_bug.cgi?id=696457
Colin Walters [Sat, 23 Mar 2013 17:51:24 +0000 (13:51 -0400)]
gdkkeys: Avoid instantiating a display manager if none exists
For introspection scanning which ends up calling class_init() which in
turn calls into the keybindings code, we can just use the fallback
keyval conversion code.
https://bugzilla.gnome.org/show_bug.cgi?id=696457
Marc-André Lureau [Wed, 20 Mar 2013 22:12:56 +0000 (23:12 +0100)]
win32: do not crash on invalid utf8 conversion
g_utf8_to_utf16() is not guaranteed to succeed. Check the error
and return if it failed.
https://bugzilla.gnome.org/show_bug.cgi?id=696232
Tarnyko [Sat, 23 Mar 2013 19:47:39 +0000 (15:47 -0400)]
win32: Improve GtkAssistant theming
The highlighted color chosen for GtkAssistant header font
(deep blue) makes it hardly readable is most cases. Switch
to light gray.
https://bugzilla.gnome.org/show_bug.cgi?id=696171
Matthias Clasen [Sat, 23 Mar 2013 19:43:20 +0000 (15:43 -0400)]
Expand testgrid to cover row/column removal
Matthias Clasen [Sat, 23 Mar 2013 19:40:44 +0000 (15:40 -0400)]
Add gtk_grid_remove_{row,column}
It is sometimes convenient to deal with entire rows or
columns at a time.
https://bugzilla.gnome.org/show_bug.cgi?id=695994
John Lindgren [Sat, 23 Mar 2013 18:41:09 +0000 (19:41 +0100)]
Use natural size to set adjustment ranges
This is an (unintentional) side effect of my changes to GtkTreeView's
get_preferred_size() implementation. It seems odd to me that
GtkTreeView directly determines its own size when inside a
GtkScrolledWindow, but since it does, it should be using its natural
size, not its minimum size.
Vadim Godunko [Sat, 23 Mar 2013 18:01:35 +0000 (14:01 -0400)]
Fix drawing of grid lines in RTL
The vertical grid lines were not properly positions in
RTL locales.
https://bugzilla.gnome.org/show_bug.cgi?id=696051
Matthias Clasen [Sat, 23 Mar 2013 16:56:54 +0000 (12:56 -0400)]
wayland: Pick up more settings
With this commit, we pick up xft settings from GSettings
as well. Among other things, this makes the Large Text
setting work. Still to do: pick up fontconfig changes without
having all clients use up inotify watches for all font
directories.
Yuri Myasoedov [Sat, 23 Mar 2013 16:03:18 +0000 (20:03 +0400)]
Updated Russia translation
Tristan Van Berkom [Sat, 23 Mar 2013 11:44:12 +0000 (20:44 +0900)]
GtkBuilder: Fixed documentation
The documentation was referring to an <external-object> tag
which we never implemented
Matthias Clasen [Sat, 23 Mar 2013 04:16:24 +0000 (00:16 -0400)]
Add gdk_set_allowed_backends
This new function allows programmatic control over the
GDK backends that will be used at runtime.
Matthias Clasen [Sat, 23 Mar 2013 04:47:22 +0000 (00:47 -0400)]
Implement GInitable in GdkBroadwayDisplayManager
Add GInitable implementation and fail the initialisation if it is not
possible to set up a broadway server.
Matthias Clasen [Sat, 23 Mar 2013 04:37:53 +0000 (00:37 -0400)]
Implement GInitable in GdkX11DisplayManager
Add GInitable implementation and fail the initialisation if it is not
possible to connect to the display server.
Thomas Wood [Fri, 22 Feb 2013 16:44:13 +0000 (16:44 +0000)]
wayland: implement GInitable and check the connection to the display server
Add GInitable implementation and fail the initialisation if it is not
possible to connect to the display server.
https://bugzilla.gnome.org/show_bug.cgi?id=694465
Thomas Wood [Fri, 22 Feb 2013 16:41:12 +0000 (16:41 +0000)]
gdk: Implement GInitable on GdkDisplayManager
Add GInitable interface with a default implementation that always
succeeds. This allows backends to override the GInitable implementation
and add their own checks to determine if the backend can be loaded. If
a backend cannot be loaded, GDK can attempt to load the next available
backend.
Since backends may need to read any relevant options (such as the
display flag) to determine if they can be created successfully, this
patch also removes calls that attempt to create the display manager
before the options have been parsed.
https://bugzilla.gnome.org/show_bug.cgi?id=694465
Matthias Clasen [Sat, 23 Mar 2013 00:31:50 +0000 (20:31 -0400)]
Update cursor theme on wayland
Call the new new api from gtksettings.c when it changes, just
as we do for X11.
https://bugzilla.gnome.org/show_bug.cgi?id=696428
Matthias Clasen [Sat, 23 Mar 2013 00:30:51 +0000 (20:30 -0400)]
wayland: Implement cursor theme changing
Add gdk_wayland_display_set_cursor_theme and implement it.
Matthias Clasen [Fri, 22 Mar 2013 23:32:39 +0000 (19:32 -0400)]
wayland: Respect cursor size setting
Respect the cursor size setting when loading the cursor theme.
Matthias Clasen [Fri, 22 Mar 2013 23:27:36 +0000 (19:27 -0400)]
wayland: Add cursor-size setting
This will be picked up by cursor themes soon.
Matthias Clasen [Fri, 22 Mar 2013 23:09:20 +0000 (19:09 -0400)]
wayland: Avoid segfault when cursors are freed
The check for GDK_CURSOR_IS_PIXMAP was ineffective, since _all_
cursors have this type, from the looks of it. Instead, store
buffer ownership information separately.
Matthias Clasen [Fri, 22 Mar 2013 22:34:44 +0000 (18:34 -0400)]
wayland: Emit GdkKeymap::state-changed when appropriate
This makes the caps lock warning in password entries work.
Matthias Clasen [Fri, 22 Mar 2013 22:26:33 +0000 (18:26 -0400)]
wayland: Make key repeat configurable
These might be candidates for a future settings interface; until
then, we use GSettings directly. Note again that we are careful
to avoid a dependency on GNOME schemas.
Matthias Clasen [Fri, 22 Mar 2013 22:09:23 +0000 (18:09 -0400)]
wayland: Factor out key repeat parameters
This is in preparation for picking these values up from
existing configuration.
Matthias Clasen [Fri, 22 Mar 2013 21:53:28 +0000 (17:53 -0400)]
wayland: Drop an unused variable
The keymap member in GdkWaylandDisplay is not used at all,
so drop it.
Matthias Clasen [Fri, 22 Mar 2013 21:43:50 +0000 (17:43 -0400)]
wayland: Fix key repeat
Key repeat under X is not affected by modifiers. And on some systems
(e.g my Thinkpad), NumLock is permanently on, rendering key repeat
nonfunctional. This commit changes the Wayland backend to do
key repeat regardless of modifiers.
http://bugzilla.gnome.org/show_bug.cgi?id=695497
Cosimo Cecchi [Fri, 22 Mar 2013 16:44:27 +0000 (12:44 -0400)]
appchooserbutton: filter out applications not supposed to be visible
Ensure NoDisplay=true applications don't end up in the list populated by
GtkAppChooserButton.
https://bugzilla.gnome.org/show_bug.cgi?id=696405
Rajesh Ranjan [Fri, 22 Mar 2013 09:31:16 +0000 (15:01 +0530)]
hindi translation
Matthias Clasen [Thu, 21 Mar 2013 18:01:33 +0000 (14:01 -0400)]
Don't react to clicks in content
This breaks way too many things, and we explicitly trigger
drags from menubars and toolbars, where we want it.
Matthias Clasen [Thu, 21 Mar 2013 17:39:06 +0000 (13:39 -0400)]
csd: Make link activation work reliably
The label code was just letting some button press events bubble
up, which caused misbehaviour with the window dragging code.
https://bugzilla.gnome.org/show_bug.cgi?id=695506
Matthias Clasen [Thu, 21 Mar 2013 17:07:29 +0000 (13:07 -0400)]
csd: Allow moving maximized windows
This make the nice 'snap off' feature of gnome-shell work
with client-side decorations. weston moves the maximized window
around, which is less ideal...
Thomas Hindoe Paaboel Andersen [Thu, 21 Mar 2013 20:05:32 +0000 (21:05 +0100)]
wayland: complete cursor_for_pixbuf
Finishes the implementation for loading cursors from pixbufs.
Gnome bug #696223
Kalev Lember [Thu, 21 Mar 2013 21:26:02 +0000 (22:26 +0100)]
win32: link with -lwinmm
... to resolve the timeBeginPeriod() / timeEndPeriod() symbols after
commit
5dbf814f0c0c94733ef96d6dc3c8c5ddb7a63f3a.
Cosimo Cecchi [Thu, 21 Mar 2013 12:47:06 +0000 (08:47 -0400)]
window: don't add the background style class when drawing CSD elements
We already set it in init, so this is just redundant.
The additional window-content style class here is needed so that we can
distinguish between the full X window background and the background for
the actual window contents.
Cosimo Cecchi [Thu, 21 Mar 2013 12:46:43 +0000 (08:46 -0400)]
window: add a "client-decorated" style class when the window is so
The theme might want to apply some specific theming to a client
decorated toplevel window, so add a style class for that.
Fran Diéguez [Thu, 21 Mar 2013 19:29:59 +0000 (20:29 +0100)]
Updated galician translations
Baurzhan Muftakhidinov [Thu, 21 Mar 2013 18:22:37 +0000 (00:22 +0600)]
Updated Kazakh translation.
Kristian Høgsberg [Thu, 21 Mar 2013 12:51:35 +0000 (08:51 -0400)]
wayland: Clear current cusor on leave so we always set it on enter
Commit
0d9d808217a04ee965ce5f60f9aff00b2ec4938e fixed the hotspot issue,
but commit
f2cc52fddd74b3064eec85e17161ebbc4ee14f49 then optimized away
cursor changes a little too aggressively. We always need to set the
cursor on enter. Make sure we clear the current cursor on leave so we
don't think it's already set on the next enter.
https://bugzilla.gnome.org/show_bug.cgi?id=695512
Matthias Clasen [Thu, 21 Mar 2013 10:52:42 +0000 (06:52 -0400)]
Wayland: Read settings out of GSettings directly
Until we figure out where we want to go with settings under
Wayland, this makes GTK+ applications a lot easier to deal
with under Wayland.
Note that we are careful to deal with the absence of schemas,
so this does not introduce a dependency on GNOME settings.
Mario Blättermann [Thu, 21 Mar 2013 08:20:34 +0000 (09:20 +0100)]
[l10n] Updated German translation
Matthias Clasen [Thu, 21 Mar 2013 03:54:49 +0000 (23:54 -0400)]
Fix DND
The removal of the Motif DND code accidentally changed the
value of the TARGET_DELETE enumeration value, breaking DND
pretty badly.
Matthias Clasen [Thu, 21 Mar 2013 02:38:36 +0000 (22:38 -0400)]
GtkColorChooserDialog: make alternative button order work
The alternative button order that we set did not actually
work, since the ok button did not have a response id.
Partial fix for
https://bugzilla.gnome.org/show_bug.cgi?id=695493
Kristian Høgsberg [Thu, 21 Mar 2013 02:42:44 +0000 (22:42 -0400)]
wayland: Only set cursor when it changes
Kristian Høgsberg [Thu, 21 Mar 2013 02:34:03 +0000 (22:34 -0400)]
wayland: Add a cursor cache
We avoid creating a new GdkCursor object every time
_gdk_wayland_display_get_cursor_for_name/type() is called.
Kristian Høgsberg [Thu, 21 Mar 2013 02:02:42 +0000 (22:02 -0400)]
wayland: Use the pointer enter serial when setting cursor surface
wl_pointer.set_cursor is rejected if the serial number doesn't match
the enter serial number for the wl_pointer. We passed the right serial
number when setting the cursor surface in response to the enter event.
Later set_cursor requests fail, but we can still attach new buffers to
our cursor surface, which is why the cursor changed, but the hotspot
didn't update. Clicking in the decoration results in a leave/enter pair
which triggers wl_pointer.set_cursor with the right serial. That's why
clicking the decoration sets the right cursor.
https://bugzilla.gnome.org/show_bug.cgi?id=695512
Matthias Clasen [Thu, 21 Mar 2013 02:17:14 +0000 (22:17 -0400)]
GtkColorChooser: Fix selection of colors
Prevent the new window dragging code from interfering with
selection of colors on button release, by handling button
presses we care about instead of letting them bubble up to
the window.
Partial fix for
https://bugzilla.gnome.org/show_bug.cgi?id=695493
Matthias Clasen [Thu, 21 Mar 2013 01:47:12 +0000 (21:47 -0400)]
wayland: Keep hotspot when changing cursors
We need to pass the delta between the old and new hotspot
when attaching the new cursor surface, to keep the hotspot
at the same position. We can't deal with this in the compositor,
since the set_cursor call already overwrites the old hotspot,
so the information is lost by the time the attach happens.
Unfortunately, we can't query the initial hotspot from
the compositor, so the first cursor change will make the
hotspot jump.
https://bugzilla.gnome.org/show_bug.cgi?id=695512
Gabor Kelemen [Wed, 20 Mar 2013 23:31:21 +0000 (00:31 +0100)]
Updated Hungarian translation
Matthias Clasen [Wed, 20 Mar 2013 15:42:35 +0000 (11:42 -0400)]
GtkWindow: clean up button event handling
We were not translating event coordinates to the toplevel
window, thus the regions we determined were not right.
We were also not respecting the maximized state, and we
were unnecessarily refusing to handle events when not decorated.
https://bugzilla.gnome.org/show_bug.cgi?id=696197
Balázs Úr [Wed, 20 Mar 2013 21:10:37 +0000 (22:10 +0100)]
Updated Hungarian translation
ManojKumar Giri [Wed, 20 Mar 2013 13:56:57 +0000 (19:26 +0530)]
Updated Odia Translation.
Alexander Larsson [Wed, 20 Mar 2013 12:56:16 +0000 (13:56 +0100)]
GtkWidget: Handle style updates before realize
If the style changes before we're realized we will delay the
style-updated signal until realize. However, we then lose
the changes bitmap. This means that gtk_widget_real_style_updated()
must treat a NULL change as "everything changed" and queue a resize.
Chun-wei Fan [Wed, 20 Mar 2013 11:08:19 +0000 (19:08 +0800)]
Update Visual Studio Proprerty Sheets
Stop installing the gtk3-demo data files as they are now built into the
gtk3-demo program using GResources.
Chun-wei Fan [Wed, 20 Mar 2013 09:42:15 +0000 (17:42 +0800)]
Fix introspection building for Visual Studio builds
Apparently time_t is used in gtkrecentmanager.h, which is a special type
that could not be recognized when Gtk-3.0.gir is built. Judging from the
ast.py from the gobject-introspection package, we can define time_t as
long, and this will allow pygobject to load the Gtk module from
gi.repository.
Nilamdyuti Goswami [Wed, 20 Mar 2013 07:51:17 +0000 (13:21 +0530)]
Assamese translation updated
Arash Mousavi [Wed, 20 Mar 2013 06:43:17 +0000 (10:13 +0330)]
L10N: Updated Persian Translation
Matthias Clasen [Wed, 20 Mar 2013 02:08:13 +0000 (22:08 -0400)]
Add an example for subtitles in header bars
Matthias Clasen [Wed, 20 Mar 2013 02:07:26 +0000 (22:07 -0400)]
GtkHeaderBar: Add subtitle support
As seen in GdHeaderBar.
Matthias Clasen [Wed, 20 Mar 2013 00:52:54 +0000 (20:52 -0400)]
GtkHeaderBar: Survive toggling custom / non-custom titles
The code was always adding a label widget as a child, but
then skipping over it in forall if a custom_title was present.
This confuses internal logic of GTK+ which assumes that it
can iterate over the entire widget hierarchy with forall,
to maintain state. Fix this by destroying the label when
a custom_title is set, and recreating it as needed.
Matthias Clasen [Wed, 20 Mar 2013 00:51:43 +0000 (20:51 -0400)]
test custom titles more thoroughly
This adds a way to toggle between custom and non-custom titles
in testheaderbar, which is currently broken.
Matthias Clasen [Wed, 20 Mar 2013 00:35:28 +0000 (20:35 -0400)]
GtkHeaderBar: Don't leak
Should have a finalize function, if there's strings to free.
Also avoid some pointless extra ref on custom title widgets.
Gil Forcada [Tue, 19 Mar 2013 22:15:11 +0000 (23:15 +0100)]
[l10n] Updated Catalan translation
Rob Bradford [Tue, 19 Mar 2013 19:52:49 +0000 (19:52 +0000)]
wayland: Preserve dimensions separately for fullscreen / maximised case
Use separate fields for saving the window dimensions prior to fullscreening
and maximisation. Then use those fields to restore the window dimensions from.
Rob Bradford [Tue, 19 Mar 2013 19:40:30 +0000 (19:40 +0000)]
window: Use update_window_buttons to hide title on fullscreen
The function update_window_buttons shows or hides the title header after it
has finished updating the visibility of the various buttons. Unfortunately
this
conflicted with the hiding of the title done when going fullscreen.
This solves the problem and fixes the rendering of fullscreen applications by
using update_window_buttons to control the visibility of the box in the
fullscreen case.
Scott Moreau [Sat, 16 Mar 2013 23:34:57 +0000 (17:34 -0600)]
wayland: Implement gdk_window_[un]maximize
This allows the buttons in the decorations to maximise the window.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=695945
Signed-off-by: Rob Bradford <rob@linux.intel.com>